$OpenBSD: patch-ordered2_c,v 1.1 2004/06/22 03:07:18 brad Exp $
--- ordered2.c.orig	1999-07-23 21:54:01.000000000 -0600
+++ ordered2.c	2004-06-21 20:01:39.000000000 -0600
@@ -21,7 +21,9 @@
 /* This file contains C code to implement an ordered dither. */
 
 #include <config.h>
+#ifdef HAVE_MALLOC_H
 #include <malloc.h>
+#endif
 #include <memory.h>
 #include "video.h"
 #include "proto.h"
